<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>冲刷(flush)所有响应的数据给客户端</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.fastcgi-finish-request" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fastcgi_finish_request</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.3, PHP 7)</p><p class="refpurpose"><span class="refname">fastcgi_finish_request</span> &mdash; <span class="dc-title">冲刷(flush)所有响应的数据给客户端</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fastcgi-finish-request-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fastcgi_finish_request</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">boolean</span></div>

  <p class="para rdfs-comment">
   此函数冲刷(flush)所有响应的数据给客户端并结束请求。
   这使得客户端结束连接后，需要大量时间运行的任务能够继续运行。
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fastcgi-finish-request-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>

</div></div></div></body></html>